<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.18"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>JCSDK C++ API Reference: 账号查询模块</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">JCSDK C++ API Reference
   &#160;<span id="projectnumber">2.3.3</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.18 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">类</a> &#124;
<a href="#enum-members">枚举</a> &#124;
<a href="#func-members">函数</a>  </div>
  <div class="headertitle">
<div class="title">账号查询模块</div>  </div>
</div><!--header-->
<div class="contents">

<p>用于查询账号信息  
<a href="#details">更多...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
类</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_account.html">JCAccount</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_account_callback.html">JCAccountCallback</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_account_item.html">JCAccountItem</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
枚举</h2></td></tr>
<tr class="memitem:ga2eb8ae8f02c6d3d58bde7034deec28f6"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE8_xB4_xA6_xE5_x8F_xB7_xE6_x9F_xA5_xE8_xAF_xA2_xE6_xA8_xA1_xE5_x9D_x97.html#ga2eb8ae8f02c6d3d58bde7034deec28f6">JCAccountUserStatus</a> { <br />
&#160;&#160;<a class="el" href="group___xE8_xB4_xA6_xE5_x8F_xB7_xE6_x9F_xA5_xE8_xAF_xA2_xE6_xA8_xA1_xE5_x9D_x97.html#gga2eb8ae8f02c6d3d58bde7034deec28f6a6c8a873ffa610d0e186f14590847a555">JCAccountUserStatusError</a> = -1, 
<a class="el" href="group___xE8_xB4_xA6_xE5_x8F_xB7_xE6_x9F_xA5_xE8_xAF_xA2_xE6_xA8_xA1_xE5_x9D_x97.html#gga2eb8ae8f02c6d3d58bde7034deec28f6a65a324fbd5bc26cf7d7c779e0e38f22d">JCAccountUserStatusNotFound</a> = 0, 
<a class="el" href="group___xE8_xB4_xA6_xE5_x8F_xB7_xE6_x9F_xA5_xE8_xAF_xA2_xE6_xA8_xA1_xE5_x9D_x97.html#gga2eb8ae8f02c6d3d58bde7034deec28f6a7d616b537b1367bfd3ebd2dbcc95d47b">JCAccountUserStatusOffline</a>, 
<a class="el" href="group___xE8_xB4_xA6_xE5_x8F_xB7_xE6_x9F_xA5_xE8_xAF_xA2_xE6_xA8_xA1_xE5_x9D_x97.html#gga2eb8ae8f02c6d3d58bde7034deec28f6a24a538fa49338d48b51943733bce622e">JCAccountUserStatusPush</a>, 
<br />
&#160;&#160;<a class="el" href="group___xE8_xB4_xA6_xE5_x8F_xB7_xE6_x9F_xA5_xE8_xAF_xA2_xE6_xA8_xA1_xE5_x9D_x97.html#gga2eb8ae8f02c6d3d58bde7034deec28f6ab359bfde16809624928a4f13c69d5c6d">JCAccountUserStatusOnline</a>
<br />
 }</td></tr>
<tr class="separator:ga2eb8ae8f02c6d3d58bde7034deec28f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:gab202cc8fb9d270f2429332c69b5e1abe"><td class="memItemLeft" align="right" valign="top">JCSDK_API <a class="el" href="class_j_c_account.html">JCAccount</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE8_xB4_xA6_xE5_x8F_xB7_xE6_x9F_xA5_xE8_xAF_xA2_xE6_xA8_xA1_xE5_x9D_x97.html#gab202cc8fb9d270f2429332c69b5e1abe">createJCAccount</a> (<a class="el" href="class_j_c_account_callback.html">JCAccountCallback</a> *callback)</td></tr>
<tr class="separator:gab202cc8fb9d270f2429332c69b5e1abe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabf14f58896fdffac8bf384bd0969054a"><td class="memItemLeft" align="right" valign="top">JCSDK_API void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE8_xB4_xA6_xE5_x8F_xB7_xE6_x9F_xA5_xE8_xAF_xA2_xE6_xA8_xA1_xE5_x9D_x97.html#gabf14f58896fdffac8bf384bd0969054a">destroyJCAccount</a> ()</td></tr>
<tr class="separator:gabf14f58896fdffac8bf384bd0969054a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<p>用于查询账号信息 </p>
<h2 class="groupheader">枚举类型说明</h2>
<a id="ga2eb8ae8f02c6d3d58bde7034deec28f6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2eb8ae8f02c6d3d58bde7034deec28f6">&#9670;&nbsp;</a></span>JCAccountUserStatus</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group___xE8_xB4_xA6_xE5_x8F_xB7_xE6_x9F_xA5_xE8_xAF_xA2_xE6_xA8_xA1_xE5_x9D_x97.html#ga2eb8ae8f02c6d3d58bde7034deec28f6">JCAccountUserStatus</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>用户状态 </p>
<table class="fieldtable">
<tr><th colspan="2">枚举值</th></tr><tr><td class="fieldname"><a id="gga2eb8ae8f02c6d3d58bde7034deec28f6a6c8a873ffa610d0e186f14590847a555"></a>JCAccountUserStatusError&#160;</td><td class="fielddoc"><p>查询异常 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga2eb8ae8f02c6d3d58bde7034deec28f6a65a324fbd5bc26cf7d7c779e0e38f22d"></a>JCAccountUserStatusNotFound&#160;</td><td class="fielddoc"><p>用户未注册 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga2eb8ae8f02c6d3d58bde7034deec28f6a7d616b537b1367bfd3ebd2dbcc95d47b"></a>JCAccountUserStatusOffline&#160;</td><td class="fielddoc"><p>用户离线 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga2eb8ae8f02c6d3d58bde7034deec28f6a24a538fa49338d48b51943733bce622e"></a>JCAccountUserStatusPush&#160;</td><td class="fielddoc"><p>用户推送状态 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga2eb8ae8f02c6d3d58bde7034deec28f6ab359bfde16809624928a4f13c69d5c6d"></a>JCAccountUserStatusOnline&#160;</td><td class="fielddoc"><p>用户在线 </p>
</td></tr>
</table>

</div>
</div>
<h2 class="groupheader">函数说明</h2>
<a id="gab202cc8fb9d270f2429332c69b5e1abe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab202cc8fb9d270f2429332c69b5e1abe">&#9670;&nbsp;</a></span>createJCAccount()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">JCSDK_API <a class="el" href="class_j_c_account.html">JCAccount</a>* createJCAccount </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_j_c_account_callback.html">JCAccountCallback</a> *&#160;</td>
          <td class="paramname"><em>callback</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>创建 <a class="el" href="class_j_c_account.html">JCAccount</a> 对象</p>
<p><a class="el" href="class_j_c_account.html">JCAccount</a> 的所有接口函数，如无特殊说明，都建议在主线程调用</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">callback</td><td><a class="el" href="class_j_c_account_callback.html">JCAccountCallback</a> 对象，用于回调相关通知 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd><a class="el" href="class_j_c_account.html">JCAccount</a> 对象 </dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">JCCallCallback 传空会出现调用异常</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gabf14f58896fdffac8bf384bd0969054a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gabf14f58896fdffac8bf384bd0969054a">&#9670;&nbsp;</a></span>destroyJCAccount()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">JCSDK_API void destroyJCAccount </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>销毁 <a class="el" href="class_j_c_account.html">JCAccount</a> 对象 </p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.18
</small></address>
</body>
</html>
